tests: add test cases for import without uid
authorVincent Breitmoser <look@my.amazin.horse>
Thu, 13 Jun 2019 19:27:41 +0000 (21:27 +0200)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 22 Aug 2019 19:11:59 +0000 (20:11 +0100)
commit793981c943d26b1e6497e2851d1bc89b1cb6f159
tree85431bbaa1c5f27674cb454ce644b56f5faa71bd
parentfa10184423417414355081e2ef0d131e8de0d55d
tests: add test cases for import without uid

This commit adds a test case that does the following, in order:
- Import of a primary key plus user id
- Check that import of a subkey works, without a user id present in the
imported key
- Check that import of a subkey revocation works, without a user id or
subkey binding signature present in the imported key
- Check that import of a primary key revocation works, without a user id
present in the imported key

--

Note that this test currently fails.  The following changesets will
fix gpg so that the tests pass.

GnuPG-Bug-id: 4393
Signed-Off-By: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Gbp-Pq: Topic import-merge-without-userid
Gbp-Pq: Name tests-add-test-cases-for-import-without-uid.patch
tests/openpgp/Makefile.am
tests/openpgp/import-incomplete.scm [new file with mode: 0644]
tests/openpgp/import-incomplete/primary+revocation.asc [new file with mode: 0644]
tests/openpgp/import-incomplete/primary+subkey+sub-revocation.asc [new file with mode: 0644]
tests/openpgp/import-incomplete/primary+subkey+sub-sig.asc [new file with mode: 0644]
tests/openpgp/import-incomplete/primary+uid-sig.asc [new file with mode: 0644]
tests/openpgp/import-incomplete/primary+uid.asc [new file with mode: 0644]